SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 53687: The error "java.lang.RuntimeException: Error: Start value is greater then end value" might be issued when trying to create graphs with ODS Graphics

DetailsAboutRate It

The following messages might be issued in the SAS® log when attempting to create a graph with ODS Graphics:

java.lang.RuntimeException: Error: Start value is greater then end value
     at com.sas.text.SASUserDefinedFormat.addCharacterRange(SASUserDefinedFormat.java:572)
     at com.sas.text.SASUserDefinedFormat.addSegment(SASUserDefinedFormat.java:503)
     at com.sas.text.SASUserDefinedFormat.setRangeSegment(SASUserDefinedFormat.java:474)
     at com.sas.text.SASUserDefinedFormat.createFormat(SASUserDefinedFormat.java:183)
     at com.sas.graphics.applets.statgraph.FormatParser.load(FormatParser.java:39)
     at com.sas.graphics.applets.statgraph.StatGraphPanel.load(StatGraphPanel.java:208)
     at com.sas.graphics.applets.statgraph.StatGraphPanel.load(StatGraphPanel.java:102)
     at com.sas.graphics.applets.statgraph.StatGraphPanel.load(StatGraphPanel.java:98)
     at com.sas.graphics.app.StatGraphSSR.render(StatGraphSSR.java:219)
java.lang.RuntimeException: Error: Start value is greater then end value
ERROR: Physical file does not exist, .
NOTE: The SAS System stopped processing this step because of errors.

This problem is most likely to occur if a user-defined format is associated with one of the variables and the values in the format are not in alphanumeric order.

To circumvent the problem, create a numeric variable based on the order in which you want the values to be displayed. Use this new variable on the left side of the format assignments with PROC FORMAT.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/GRAPHz/OS9.2 TS1M09.4 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M0
Microsoft® Windows® for x649.2 TS1M09.4 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M0
Microsoft Windows XP Professional9.2 TS1M0
Windows Vista9.2 TS1M0
Windows Vista for x649.2 TS1M0
64-bit Enabled AIX9.2 TS1M09.4 TS1M3
64-bit Enabled HP-UX9.2 TS1M09.4 TS1M3
64-bit Enabled Solaris9.2 TS1M09.4 TS1M3
HP-UX IPF9.2 TS1M09.4 TS1M3
Linux9.2 TS1M09.4 TS1M3
Linux for x649.2 TS1M09.4 TS1M3
OpenVMS on HP Integrity9.2 TS1M09.4 TS1M3
Solaris for x649.2 TS1M09.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.